home *** CD-ROM | disk | FTP | other *** search
- -- card: 2938 from stack: in
- -- bmap block id: 0
- -- flags: 0000
- -- background id: 2734
- -- name:
-
-
- -- part 1 (button)
- -- low flags: 00
- -- high flags: 8003
- -- rect: left=127 top=19 right=41 bottom=227
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: New Button
- ----- HyperTalk script -----
- on mouseUp
- answer file "" of type text
- if the result is "Cancel" or it="" then exit to hypercard
- set cursor to watch
- put it into theFile
- open file theFile
- read from file theFile for 24000
- put it into theStuff
- close file theFile
- put (theFile&".rev") into theFile
- -- put "" into cd fld 1
- repeat with x=1 to number of lines in theStuff
- put line x of theStuff into theLine
- if"/" is not in theLine then next repeat
- set cursor to busy
- get offset("/",theLine)
- put char 1 to it of theLine into theIntro
- delete char 1 to it of theLine
- put "GET ""e before theLine
- put quote after theLine
-
- repeat until (char 1 to 4 of theIntro) is a integer
- delete char 1 of theIntro
- end repeat
- get ((round((word 1 of theIntro)/1024)&tab&theLine)&return)
- put it
- put it after temp
- -- put it after cd fld 1
- end repeat
- open file theFile
- write temp to file theFile
- close file theFile
- end mouseUp
-
-
- -- part 2 (field)
- -- low flags: 24
- -- high flags: 0007
- -- rect: left=0 top=44 right=296 bottom=352
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name:
-
-
- -- part contents for card part 2
- ----- text -----
-
-
-
-
-
-
-
-
-
-
-
-